<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	  xmlns:h="http://java.sun.com/jsf/html"
	  xmlns:ui="http://java.sun.com/jsf/facelets"
	  xmlns:f="http://java.sun.com/jsf/core"
	  xmlns:p="http://primefaces.org/ui">
	  
	  <h:head>
		<h:outputScript library="javax.faces" name="jsf.js" />
		<h:outputScript library="primefaces" name="jquery/jquery.js" />
		<link rel="stylesheet" href="css/acesso.css"/>	
	  </h:head>
	  <h:body>
	  	<div id="formulario-acesso-container">
		  	<form action="/sgr/addCustomer" method="post" id="formulario-acesso">
		  		<p:messages id="messages" showDetail="true" autoUpdate="true"/>  
		  		<label>
		  			<span>Login: </span>
		  			<p:inputText id="login" required="true" requiredMessage="O campo login é obrigatório"></p:inputText>
		  			<br/>
		  		</label>
		  		<label>
		  			<span>Senha: </span>
		  			<p:password id="senha" match="senha-repeat" required="true"  requiredMessage="O campo senha é obrigatório"></p:password>
		  			<br/>
		  		</label>
		  		<label>
		  			<span>Repetir Senha: </span>
		  			<p:password id="senha-repeat" required="true"></p:password>
		  			<br/>
		  		</label>
		  		<input type="submit" value="Cadastrar Novo Acesso" class="submit-custom"></input>
		  	</form>
	  	</div>
	  </h:body>
	  
	  	
</html>